package com.zhc.dejingapi.pojo.dingtalk;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class DingTalkApiInfo {
    //  dingappinfo:
//    corpid: "ding34c75b368965adeb35c2f4657eb6378f"
    @Value("${spring.dingappinfo.corpid}")
    private String corpId;
    //    apitoken: "12e356e94cba3271a806ffb8dc141fff"
    @Value("${spring.dingappinfo.apitoken}")
    private String apiToken;
    //    appid: "d16c54a3-ea66-417e-a6da-b54b2ff837d0"
    @Value("${spring.dingappinfo.appid}")
    private String appId;
    //    agentid: "3205742026"
    @Value("${spring.dingappinfo.agentid}")
    private String agentId;
    //    appkey: "dingxvjxlbpwej6gldx1"
    @Value("${spring.dingappinfo.appkey}")
    private String appKey;
    //    appsecret: "FlY5tW39ADNBWc8Cw4o8aLh2iVcFqKbrBFJL7ulhNukd2XwLPZ-ERVle952RHLi0"
    @Value("${spring.dingappinfo.appsecret}")
    private String appSecret;
}
